import request from "@/utils/request";
import { loginForm,loginAllResponseData } from "./type.ts";

//登录-用户名密码接口
export const reqGetLogin=({account,password}:loginForm):Promise<loginAllResponseData>=>{
    return request({
        url:'/login',
        method:'POST',
        data:{
            account,
            password
        }
    })
}
